.modal {
    width: 400px;
    height: 300px;
    border: 1px solid black;
    margin: 100px auto;
}

.modal h3,.modal p {
    text-align: center;
}